import request from "@/codecat/request";

export function login(data) {
	return request({
		url: "/h5/login/auth",
		method: "post",
		data,
	});
}

// 退出方法
export function logout() {
	return request({
		url: "/logout",
		method: "post",
	});
}